package team.wuyou.dao;


import org.apache.ibatis.annotations.Param;
import team.wuyou.bean.AccountAndPermission;
import team.wuyou.bean.Result;
import team.wuyou.bean.User;



import java.util.List;
import java.util.Map;

public interface UserMapper {
    List<Map> selectUser(Map map);
    List<User> selectUsername(Map map);

    int insert(AccountAndPermission accountAndpermission);

    int RemoveUser(Map map);
    int RemoveUserInfo(Map map);

    List<Map> SearchClientInfo(Map map);




    List<User> selectAdmin(Map map);

    List<User> selectUserTwo(User user);

    List<User> selectUserThree(User user);

    List<User> selectUserFour(User user);

    int upd(User user);

    List<User> selectUserFive(AccountAndPermission pd);
    List<User> selectUserSix(@Param("list") List<User> list);
    List<User> selectUserSeven(AccountAndPermission pd);

    int selectUserEight(@Param("list") List<User> list);
    int selectUserNight(@Param("list") List<User> list);

    List<User> selectUserTen(User user);
}
